#!/usr/bin/env python

from urllib import urlopen

KEY = 'zzzz'
URL = 'http://isbndb.com/api/books.xml?access_key=%(key)s&results=details,authors,subjects,texts&index1=isbn&value1=%(isbn)s'

dp = '0201633612'
url = URL % {'key':KEY, 'isbn':dp}
print url
xml = urlopen(url).read()
print xml
